﻿namespace Arbalest.Web.Services
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using Arbalest.Models;

    /// <summary>
    /// TODO: Update summary.
    /// </summary>
    public interface IModelStateService
    {
        void AddError(string key, string errorMessage);

        void AddError(string key, Exception exception);

        bool IsValid { get; }
    }
}
